﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Linq;

namespace Klinkby.MicroBus
{
    class Program
    {
        static void Main(string[] args)
        {
            IDisposable bus;
            using (var rd = XmlReader.Create("config.xml"))
            {
                bus = Factory.Create(rd);
            }            
            Console.ReadLine();
            bus.Dispose();
        }
    }
}
